//
//  LKMyShopDetailDateView.m
//  Mideleague_Agent
//
//  Created by Zhiwang on 2020/5/26.
//  Copyright © 2020 Zhiwang. All rights reserved.
//

#import "LKMyShopDetailDateView.h"

@interface LKMyShopDetailDateView()
@property (weak, nonatomic) IBOutlet UILabel *moneyLabel;
@property (weak, nonatomic) IBOutlet UILabel *numberLabel;



@end


@implementation LKMyShopDetailDateView


-(void)setHidenDate:(BOOL)hidenDate{
    self.dateView.width = 0;
}

-(void)setDetailModel:(LKMyShopListDetailModel *)detailModel{
    _detailModel = detailModel;
    self.moneyLabel.text = _detailModel.mch_info.total_amout;
    self.numberLabel.text = _detailModel.mch_info.total_nums;
}


-(void)setSuboraDetailModel:(LKMySuboraListDetailModel *)suboraDetailModel{
    _suboraDetailModel = suboraDetailModel;
    self.moneyLabel.text = _suboraDetailModel.total_amount;
    self.numberLabel.text = _suboraDetailModel.total_nums;
}
-(void)setTradeCountModel:(LKMyTradeCountModel *)tradeCountModel{
    _tradeCountModel = tradeCountModel;
    self.moneyLabel.text = _tradeCountModel.total_price;
    self.numberLabel.text = _tradeCountModel.total_num;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
